package com.wootion.cims.module.communitypersonal.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wootion.cims.module.communitypersonal.model.Person;
import com.wootion.cims.response.ResponseResult;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

public interface PersonService extends IService<Person>{

    ResponseResult insert(JSONObject sysUser);

    ResponseResult update(JSONObject jsonObject, HttpServletRequest request);

    ResponseResult deleteById(String id);

//    ResponseResult inport(MultipartFile file, JSONObject jsonObject);

    ResponseResult input2(JSONObject jsonObject);

    ResponseResult selectPage(Integer page, Integer limit, String condition);

    ResponseResult findById(String id);

    ResponseResult export(JSONObject jsonObject);

    ResponseResult findByCard(String card);

    ResponseResult deleteByIds(JSONObject jsonObject);

    ResponseResult selectPage2(Integer page, Integer limit, String s);

    ResponseResult selectPage3(Integer page, Integer limit, String s);

    ResponseResult inport(MultipartFile file, String abode, String communityId, String plotId);

    ResponseResult inputs(JSONObject jsonObject);

    ResponseResult selectPage4(String s);

    ResponseResult getNumber();

    ResponseResult updates(JSONObject jsonObject,HttpServletRequest request);

    ResponseResult deleteInportById(String id);

//    ResponseResult inport(MultipartFile fileJSONObject jsonObject);

//    ResponseResult update(JSONObject jsonObject);
//
//    ResponseResult deleteById(String id);
//
//    ResponseResult selectPage(Integer limit, Integer page);
//
//    ResponseResult findById(String s);
}
